package com.yupi.oj.mapper;

import com.yupi.oj.model.entity.QuestionRecomend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author FengHuan Wang
 * @Date 2025/3/13 14:18
 * @Version 1.0
 */
@Mapper
public interface QuestionRecommendMapper {

    @Select("select  userId, questionId, status from question_submit where status = 2")
    List<QuestionRecomend> getQuestion();
}
